package com.lvt.design.pattern.struct.composite.refactor;

/**
 * desc：class
 *
 * @author LT
 * @date 2022/12/3
 */
public abstract class FileSystemNode {
    protected String path;

    public FileSystemNode(String path) {
        this.path = path;
    }

    public abstract int countNumOfFiles();

    public abstract long countSizeOfFiles();

    public String getPath() {
        return path;
    }
}
